
component  output="false" extends="ModelGlue.Util.ValidationErrorCollection"
{

	public it.millemultimedia.easyBlog.validator.CategoryValidator function init(){
		
		super.init();
		
		return this;
	}
	
	public void function validate( required Any bean ){
		
		if( not len( arguments.bean.getName() ) ){

			addError( 'Name', 'Name is required' );
		
		}
		
		if( not len( arguments.bean.getUuid() ) ){

			addError( 'Uuid', 'Uuid is required' );
		
		}
		

	}

}
